projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43cff6f
)
Don't whine about expander-style missing
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Nov 2010 12:52:27 +0000
(07:52 -0500)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:12 +0000
(15:39 +0100)
This check was lost in the GtkStyleContext porting.
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index ff3ba063174360ad5aa3693584750cce45fbda35..5a357b4b01a4c5ebdd9af9e59bbc0fa0d59624a4 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-3187,7
+3187,9
@@
gtk_default_draw_expander (GtkStyle *style,
break;
}
- if (widget)
+ if (widget &&
+ gtk_widget_class_find_style_property (GTK_WIDGET_GET_CLASS (widget),
+ "expander-size"))
gtk_widget_style_get (widget, "expander-size", &size, NULL);
else
size = 12;